package com.trs.publish.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.trs.publish.domain.LoginLog;
import com.trs.publish.repository.LoginLogRepository;



@Service
@Transactional
public class LoginLogService{
   
	@Autowired
	private LoginLogRepository loginLogRepository;

	public LoginLog selectone(Long id) {
		// TODO Auto-generated method stub
		return loginLogRepository.selectone(id);
	}

	public List selectAll(LoginLog loginLog) {
		// TODO Auto-generated method stub
		return loginLogRepository.selectAll(loginLog);
	}

	public void insertone(LoginLog loginLog) {
		loginLogRepository.insertone(loginLog);
		
	}

	public void batchInsert(List list) {
		loginLogRepository.batchInsert(list);
		
	}
}
